package com.settlement.system.listener.easyexcel;

import com.alibaba.excel.context.AnalysisContext;
import com.alibaba.excel.event.AnalysisEventListener;
import com.settlement.system.model.vo.SysLossImportVo;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;

import java.util.ArrayList;
import java.util.List;

/**
 * 损失细类导入配置
 */
@Slf4j
@Data
public class SysLossImportListener extends AnalysisEventListener<SysLossImportVo> {

    private List<SysLossImportVo> vos = new ArrayList<>();

    @Override
    public void invoke(SysLossImportVo tbBillImportVo, AnalysisContext analysisContext) {
        vos.add(tbBillImportVo);
    }

    @Override
    public void doAfterAllAnalysed(AnalysisContext analysisContext) {

    }
}
